﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="Frogism.Core"
                   namespace="Frogism.Core.Drinking">

  <class name="DrinkDay">
    <id name="Id">
      <generator class="identity" />
    </id>
    <property name="Day" />
    <bag name="Items" lazy="false">
      <key column="DrinkDayId" />
      <one-to-many class="DrinkItem"  />
    </bag>
  </class>
</hibernate-mapping>